package com.xxgc.eow.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 选择题选项
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-18
 */
@Getter
@Setter
@Schema(name = "Choosecontent", description = "选择题选项")
public class Choosecontent implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "选择题id")
    private Integer chooseId;

    @Schema(description = "选择题选项内容")
    private String chooseContent;

    @Schema(description = "选择题该选项是否正确")
    private Byte chooseIsTrue;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "销毁时间")
    private LocalDateTime destoryTime;

    @Schema(description = "假删除状态")
    private Byte tip;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getChooseId() {
        return chooseId;
    }

    public void setChooseId(Integer chooseId) {
        this.chooseId = chooseId;
    }

    public String getChooseContent() {
        return chooseContent;
    }

    public void setChooseContent(String chooseContent) {
        this.chooseContent = chooseContent;
    }

    public Byte getChooseIsTrue() {
        return chooseIsTrue;
    }

    public void setChooseIsTrue(Byte chooseIsTrue) {
        this.chooseIsTrue = chooseIsTrue;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getDestoryTime() {
        return destoryTime;
    }

    public void setDestoryTime(LocalDateTime destoryTime) {
        this.destoryTime = destoryTime;
    }

    public Byte getTip() {
        return tip;
    }

    public void setTip(Byte tip) {
        this.tip = tip;
    }

    public Choosecontent(Integer chooseId, String chooseContent, Byte chooseIsTrue, LocalDateTime createTime, LocalDateTime destoryTime, Byte tip) {
        this.chooseId = chooseId;
        this.chooseContent = chooseContent;
        this.chooseIsTrue = chooseIsTrue;
        this.createTime = createTime;
        this.destoryTime = destoryTime;
        this.tip = tip;
    }

    public Choosecontent() {
    }

    @Override
    public String toString() {
        return "Choosecontent{" +
                "chooseId=" + chooseId +
                ", chooseContent='" + chooseContent + '\'' +
                ", chooseIsTrue=" + chooseIsTrue +
                ", createTime=" + createTime +
                ", destoryTime=" + destoryTime +
                ", tip=" + tip +
                '}';
    }
}
